<?php
    // make sure only logged in users can see this page	
    gatekeeper();
    
 /*
    // set the title
    // we can also use elgg_echo() with a unique string descriptor to enable internationalisation of this title
    $title =  elgg_echo('MyCourse:lesson');
 
    // start building the main column of the page
    $content = elgg_view_title($title);
    */
 
    // add the form to this section
    $content = elgg_view_form("MyCourse/myLesson");
 
    // optionally, add the content for the sidebar
    
 
    // layout the page
    $body = elgg_view_layout('one_column', array(
           'content' => $content,
           
        ));
 
    // draw the page
    echo elgg_view_page($title, $body);
?>